package com.sinodata.bsm.center.engine.resource.health;

import com.sinodata.bsm.common.constants.ResConstants;
import com.sinodata.bsm.common.vo.HealthCalcRule;

/**
 * 
 * <p>
 * Description: 默认的健康度设置规则
 * </p>
 *
 * @author wangyilin
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * Jul 7, 2012 3:31:10 PM          wangyilin        1.0         To create
 * </p>
 *
 * @since 
 * @see
 */
public class DefaultHealthCalcRule extends HealthCalcRule {
    private static final long serialVersionUID = 4017517295998936206L;

    public DefaultHealthCalcRule() {
        super();
        this.setArithmetic(ResConstants.AVG_ARITHMETIC);
        this.setMinor(20);
        this.setWarn(40);
        this.setError(60);
        this.setFatal(80);
    }
}
